package com.dify.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 未解答问题实体类
 */
@Data
@TableName("unanswered_question")
public class UnansweredQuestion {
    
    /**
     * 未解答问题ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 关联的问答记录ID
     */
    private Long questionRecordId;
    
    /**
     * 状态：PENDING-待解答, RESOLVED-已解答
     */
    private String status;
    
    /**
     * 解答时间
     */
    private LocalDateTime resolvedAt;
    
    /**
     * 创建时间
     */
    private LocalDateTime createdAt;
}
